<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:th="http://www.thymeleaf.org">
<body class="layui-layout-body">
<header th:fragment="zpxxList">
    <div class="layui-inline">
        <label class="layui-form-label label-left" style="width: 30px;">ID：</label>
        <div class="layui-input-inline" style="width: 200px;">
            <input class="layui-input" name="id" id="id" placeholder="请输入ID" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label label-left" style="width: 45px;">学校：</label>
        <div class="layui-input-inline" style="width: 200px;">
            <input class="layui-input" name="schoolName" id="schoolName" placeholder="请输入学校" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label label-left" style="width: 70px;">所属学院：</label>
        <div class="layui-input-inline" style="width: 200px;">
            <input class="layui-input" name="collegeName" id="collegeName" placeholder="请输入所属学院" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label label-left" style="width: 70px;">社团名称：</label>
        <div class="layui-input-inline" style="width: 200px;">
            <input class="layui-input" name="assoName" id="assoName" placeholder="请输入社团名称" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
        <button class="layui-btn layui-btn-primary" id="search" style="margin: 10px;">查询</button>
        <button class="layui-btn layui-btn-primary" id="code-1" style="margin: 10px;">未通过</button>
        <button class="layui-btn layui-btn-primary" id="code1" style="margin: 10px;">已通过</button>
        <button class="layui-btn layui-btn-primary" id="code2" style="margin: 10px;">已过期</button>
    </div>
    <table id="zpxxList" lay-filter="zpxxList"></table>
    <script type="text/html" id="optBar">
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
    </script>
    <script type="text/html" id="codeTpl">
        {{#  if(d.code==-1){ }}
        <span><a onclick="changeCode('{{d.id}}','1')">未通过</a></span>
        <!--<input type="checkbox" name="{{d.username}}_{{d.version}}" value="{{d.id}}" lay-skin="switch" lay-text="在职|离职" lay-filter="isJobTpl" checked="checked" />-->
        {{#  } else if(d.code == 1){ }}
        <span><a onclick="changeCode('{{d.id}}','3')">已通过</a></span>
        <!--<input type="checkbox" name="{{d.username}}_{{d.version}}" value="{{d.id}}" lay-skin="switch" lay-text="在职|离职" lay-filter="isJobTpl"/>-->
        {{#  }else{ }}
        <span><a onclick="">已过期</a></span>
        {{#  } }}
    </script>
    <script type="text/html" id="toolbarDemo">
        <div class="layui-btn-container">
            <button class="layui-btn layui-btn-sm" lay-event="add">添加</button>
            <button class="layui-btn layui-btn-sm" lay-event="delete">删除</button>
            <button class="layui-btn layui-btn-sm" lay-event="update">编辑</button>
        </div>
    </script>
    <script src="/js/zpxx/zpxxList.js"></script>
</header>
</body>
</html>